Page({
  data: {
    datePickerIsShow: false,
    datePickerValue: '请选择时间'
  },
  datePickerOnSureClick: function (t) {
    let time = t.detail.value
    this.setData({
      datePickerValue: time,
      datePickerIsShow: false
    })
  },
  datePickerOnCancelClick: function (t) {
    this.setData({
      datePickerIsShow: false
    });
  },
  openTimePicker: function () {
    this.setData({
      datePickerIsShow: true
    })
  }


})